export default {
  fields: [
    {
      type: 'index',
      width: 60,
      fixed: "left"
    },
    {
      title: "患者姓名",
      key: "Nickname",
      width: 100,
      fixed: "left"
    },
    {
      title: "性别",
      key: "Sex",
      width: 80
    },
    {
      title: "年龄",
      key: "Age",
      width: 80
    },
    {
      title: "住院号",
      key: "Checkin",
      width: 200
    },
    {
      title: "发病日期",
      key: "Attack_time",
      width: 120
    },
    {
      title: "入院时间",
      key: "Checkin_time",
      width: 120
    },
    {
      title: "医师",
      key: "ysname",
      width: 100
    },
    {
      title: "诊断",
      key: "Diagnose",
      width: 100,
      align: "center"
    },
    {
      title: "是否出院",
      key: "Status",
      width: 100,
      align: "center"
    },
    {
      title: "注意事项",
      key: "Notes",
      width: 300
    },
    {
      title: "操作",
      slot: "action",
      align: "center",
      width: 320,
      fixed: "right"
    }
  ],
  suffer_from_rules: {
    "Nickname": [{ required: true, message: '请输入患者姓名', trigger: 'blur' }],
    "Type": [{ required: true, message: '请选择患者类型', trigger: 'blur' }],
    "Checkin": [{ required: true, message: '请输入住院号', trigger: 'blur' }]
  },
}
